package zuoye;

public class Circletest {

    public static void main(String[] args) {
        Circle c2 = new Circle();
        Circletest c3 = new Circletest();

        c3.printAreas(c2,5);

    }



    public void printAreas(Circle c,int time){
        System.out.println("半径" + "\t" + "\t" + "\t" + "面积");
        for (int i = 1; i <= time ; i++) {
            c.radius = i;
            System.out.println(c.radius+"\t" + "\t" + "\t" + c.findarea());
        }

    }
}
